package cn.stylefeng.guns.modular.yingbao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 用户付款表
 * </p>
 *
 * @author zs
 * @since 2019-12-16
 */
@TableName("yingbao_user_indent")
public class UserIndent implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField("myuserid")
    private Long myuserid;

    /**
     * 转账凭证
     */
    @TableField("pic")
    private String pic;

    /**
     * 平台主键id
     */
    @TableField("payeeid")
    private Integer payeeid;

    /**
     * 状态
     */
    @TableField("status")
    private Integer status;

    /**
     * 加入时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;

    /**
     * 备用1
     */
    @TableField("backup1")
    private String backup1;

    /**
     * 备用2
     */
    @TableField("backup2")
    private String backup2;

    /**
     * 备用3
     */
    @TableField("backup3")
    private Integer backup3;

    /**
     * 备用4
     */
    @TableField("backup4")
    private Integer backup4;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getMyuserid() {
        return myuserid;
    }

    public void setMyuserid(Long myuserid) {
        this.myuserid = myuserid;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Integer getPayeeid() {
        return payeeid;
    }

    public void setPayeeid(Integer payeeid) {
        this.payeeid = payeeid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getBackup1() {
        return backup1;
    }

    public void setBackup1(String backup1) {
        this.backup1 = backup1;
    }

    public String getBackup2() {
        return backup2;
    }

    public void setBackup2(String backup2) {
        this.backup2 = backup2;
    }

    public Integer getBackup3() {
        return backup3;
    }

    public void setBackup3(Integer backup3) {
        this.backup3 = backup3;
    }

    public Integer getBackup4() {
        return backup4;
    }

    public void setBackup4(Integer backup4) {
        this.backup4 = backup4;
    }

    @Override
    public String toString() {
        return "UserIndent{" +
        "id=" + id +
        ", myuserid=" + myuserid +
        ", pic=" + pic +
        ", payeeid=" + payeeid +
        ", status=" + status +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", version=" + version +
        ", backup1=" + backup1 +
        ", backup2=" + backup2 +
        ", backup3=" + backup3 +
        ", backup4=" + backup4 +
        "}";
    }
}
